package com.crr;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient //入驻consul作为服务发现
@EnableFeignClients //启用openFeign
public class MainOpenFeign8000 {
    public static void main(String[] args) {
        SpringApplication.run(MainOpenFeign8000.class);
    }
}